package com.xw.childhealth.entity;

import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 2019-11-13 09:03
 * @Version: 1.0
 */
@Data
@Entity
@Table(name = "health_guidance")
@Accessors(chain = true)
@DynamicUpdate
public class HealthGuidance implements Serializable {


    private static final long serialVersionUID = -6853835320950244003L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    private Integer parentId;

    private String information;

    private Integer orderNumber;

    private String detail;

    private Date createTime;

    private Date updateTime;

}
